home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gamers Delight 2
/
Gamers Delight 2.iso
/
Aminet
/
game
/
misc
/
TownMaze.lha
/
TownMaze
/
src.lzh
/
showlistsum.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-04
|
1KB
|
34 lines
/*
** showlistsum.c Copyright 1991 Kent Paul Dolan,
** Mountain View, CA, USA 94039-0755
**
** Written to satisfy an inquiry on USENet's rec.games.programmer newsgroup.
** May be freely used or modified in any non-commercial work. Copyrighted
** only to prevent patenting by someone else.
*/
#include <stdio.h>
#include "townmaze.h"
#include "townproto.h"
#ifdef __STDC__
void showlistsummary()
#else
int showlistsummary()
#endif
{
fprintf(stderr,"ISOLATED = %5d isolated = %5d isolatedct = %5d\n",
ISOLATED,isolated,isolatedct);
fprintf(stderr,"LIVE = %5d live = %5d livect = %5d\n",
LIVE,live,livect);
fprintf(stderr,"DEAD = %5d dead = %5d deadct = %5d\n",
DEAD,dead,deadct);
fprintf(stderr,
"STREET = %5d street = %5d streetct = %5d streetnumct %5d\n",
STREET,street,streetct,streetnumct);
fprintf(stderr,"UNUSED = %5d unused = %5d unusedct = %5d\n",
UNUSED,unused,unusedct);
return;
}